package com.albaba.designpattern.bridge.text_002;

/**
 * @Description: TODO
 * @Author zx
 * @Date 2025/2/20 17:49
 * @Version 1.0
 */
public abstract class Pay {

    // 桥接对象
    protected IPayMode payMode;

    public Pay(IPayMode payMode) {
        this.payMode = payMode;
    }

    // 划账
    public abstract String transfer(String uId, String tradeId);



}
